Categories group articles by topic. Every article must belong to exactly one category. The categories section lives atDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/santiagodc8/tu_perfil.net/llms.txt
Use this file to discover all available pages before exploring further.
/admin/categorias.
Default categories
Six categories ship with the site by default. Their colors were updated in migration003_update_category_colors.sql:
| Name | Slug | Color |
|---|---|---|
| Perfil Político | perfil-politico | #2563EB (blue) |
| Perfil Judicial | perfil-judicial | #DC2626 (red) |
| Perfil Salud | perfil-salud | #16A34A (green) |
| Perfil Deportivo | perfil-deportivo | #EAB308 (yellow) |
| Perfil Regional | perfil-regional | #9333EA (purple) |
| Perfil Internacional | perfil-internacional | #0891B2 (teal) |
Creating a category
Fill in the name
Type the category name in the Nombre field — for example,
Perfil Cultural. The slug is generated automatically from the name when saved.Pick a color
Click the color swatch to open the browser color picker. Choose any hex color. The color appears as a badge on article cards throughout the site.
Editing a category
Click Editar next to any category. The name and color fields populate with the current values. Make your changes and click Guardar. To cancel without saving, click Cancelar. Editing a category name also updates the slug automatically. Articles linked to this category are not affected — they reference the category by its UUID, not its slug.Deleting a category
Click Eliminar next to a category. You are asked to confirm.Category fields reference
| Field | Type | Notes |
|---|---|---|
name | text | Displayed in the sidebar and on article cards. Required. |
slug | text | URL-safe version of the name. Auto-generated. Used in public category URLs like /categoria/perfil-politico. |
color | text | Hex color string (e.g. #DC2626). Shown as a colored badge. |
